package com.cs.service;

import com.cs.entity.Result;
import com.cs.pojo.Course;
import com.cs.pojo.Cs;

import java.util.List;

public interface CSService {

    /***
     * @description 根据学生id查询所有选课
     *
     * @param uid  学生id

     * @date 2019/6/20 22:14
     * @return java.util.List<com.cs.pojo.Cs>
     */
    public List<Course> getCSs(Integer uid);


    /***
     * @description 根据学生id查询所有未选的课
     *
     * @param uid
     * @date 2019/6/21 20:33
     * @return java.util.List<com.cs.pojo.Course>
     */
    public List<Course> getNoCss(Integer uid);


    /***u
     * @description 选课
     *
     * @param uid  用户id
     * @param cid 课程id
     * @date 2019/6/20 22:10
     */
    public void addCSs(Integer cid, Integer uid);

    /***
     * @description 退课
     *
     * @param cid 课程id
     * @param uid 用户id
     * @date 2019/6/20 22:23
     */
    public void quitCSs(Integer cid, Integer uid);


}
